package com.kclm;

import com.kclm.config.SpringConfig;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.Test;

/**
 * @Author : lvhx
 * @Date: 2025/11/4 16:51
 * @Description:
 */
//@ContextConfiguration(locations = {"classpath:spring.xml"})
@ContextConfiguration(classes = SpringConfig.class)
public class BasicTestng  extends AbstractTestNGSpringContextTests {
    @Autowired
    private JdbcTemplate jdbcTemplate;
    @Test
    public  void  test01(){
        System.out.println("====>"+jdbcTemplate);
    }
}
